package com.settlement.system.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
import java.util.HashMap;
import java.util.Map;

/**
* <p>
* 通过计算的字段配置导入VO
* </p>
*
* @author huangrensen
* @since 2024-04-25
*/
@Schema
@Data
public class SysCalculateColumnImportVo implements Serializable {
    @ExcelProperty(value = "关联ID")
    private String linkId;
    @ExcelProperty(value = "计算规则")
    private String calculateRule;
    @ExcelProperty(value = "单据类型")
    private String billType;
    @ExcelProperty(value = "原始字段")
    private String sourceColumn;

    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("关联ID", "linkId");
        map.put("计算规则", "calculateRule");
        map.put("单据类型", "billType");
        map.put("原始字段", "sourceColumn");
        return map;
    }
}
